﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;

namespace FlyingEye.Controllers
{
    [ApiController]
    [Route("[controller]/[action]")]
    public class WeatherForecastController : Controller
    {
        [HttpGet]
        [EnableRateLimiting("sliding")]
        public string Get()
        {
            //throw new InvalidOperationException();
            return "Hello";
        }
    }
}
